home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 11
/
FM Towns Free Software Collection 11.iso
/
t_os
/
tool
/
ein
/
fvi
/
fvimsg
/
msgset.c
< prev
Wrap
C/C++ Source or Header
|
1995-09-22
|
16KB
|
676 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int MSG_winId ;
extern int MSG_winFunc() ;
extern int MSG_drvSelBtnId[6] ;
extern int MSG_sendDriveFunc() ;
extern int MSG_redrawId[2] ;
extern int MSG_redrawFunc() ;
extern int MSG_selectForceId[2] ;
extern int MSG_selectForceFunc() ;
extern int MSG_activateId[2] ;
extern int MSG_activeFunc() ;
extern int MSG_forceRedrawTextId ;
extern int MSG_forceRedrawTextFunc() ;
extern int MSG_forceRedrawBtnId[2] ;
extern int MSG_forceRedrawFunc() ;
extern int MSG_ifRedrawTextId ;
extern int MSG_ifRedrawTextFunc() ;
extern int MSG_ifRedrawBtnId ;
extern int MSG_ifRedrawFunc() ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init 用データ */
/* ヘッダ */
MMIINIT initDataMSGSET = { "MmiInit", 39, 0 } ;
/* MSG_winId */
static MMIPACKET d001 = { &MSG_winId,
NULL,
&MJ_WINDOWL40,
OFFSET(WINDOWL40),
MS_NONE
} ;
static WINDOWL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_TITLEL40 | MS_CLOSEL40,
42, 58, 405, 287, 8,15, 8,
MS_SRECTL40 | MS_FRAMEL40,
NULL, 0, 0,
1, 17, 394, 194,
400, 212, 400, 768,
MSG_winFunc,
"FViメッセージ",
} ;
/* NULL */
static MMIPACKET d002 = { NULL,
&MSG_winId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d002d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_DSPONLYL40,
47, 139, 215, 196, 8, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
0,
0x0000
} ;
/* NULL */
static MMIPACKET d003 = { NULL,
&MSG_winId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d003d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_DSPONLYL40,
47, 200, 215, 281, 8, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
0,
0x0000
} ;
/* NULL */
static MMIPACKET d004 = { NULL,
&MSG_winId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d004d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_DSPONLYL40,
47, 78, 215, 135, 8, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
0,
0x0000
} ;
/* MSG_drvSelBtnId[1] */
static MMIPACKET d005 = { &MSG_drvSelBtnId[1],
&MSG_winId,
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d005d = { MS_BTRIGHTL40 | MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
51, 243, 82, 274, 8, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
MSG_sendDriveFunc,
0x0000, 310
} ;
/* MSG_drvSelBtnId[2] */
static MMIPACKET d006 = { &MSG_drvSelBtnId[2],
&MSG_winId,
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d006d = { MS_BTRIGHTL40 | MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
83, 243, 114, 274, 8, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
MSG_sendDriveFunc,
0x0000, 311
} ;
/* MSG_drvSelBtnId[3] */
static MMIPACKET d007 = { &MSG_drvSelBtnId[3],
&MSG_winId,
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d007d = { MS_BTRIGHTL40 | MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
115, 243, 146, 274, 8, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
MSG_sendDriveFunc,
0x0000, 312
} ;
/* MSG_drvSelBtnId[4] */
static MMIPACKET d008 = { &MSG_drvSelBtnId[4],
&MSG_winId,
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d008d = { MS_BTRIGHTL40 | MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
147, 243, 178, 274, 8, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
MSG_sendDriveFunc,
0x0000, 313
} ;
/* MSG_drvSelBtnId[5] */
static MMIPACKET d009 = { &MSG_drvSelBtnId[5],
&MSG_winId,
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d009d = { MS_BTRIGHTL40 | MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
179, 243, 210, 274, 8, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
MSG_sendDriveFunc,
0x0000, 314
} ;
/* NULL */
static MMIPACKET d010 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d010d = { MS_CENTERL40 | MS_DSPONLYL40,
49, 203, 210, 222, 8,15, 8,
MS_NONEL40,
"<< ドライブ指定再描画 >>",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* NULL */
static MMIPACKET d011 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d011d = { MS_CENTERL40 | MS_DSPONLYL40,
51, 141, 191, 160, 8,15, 8,
MS_NONEL40,
"<< 再描画のみ >>",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* MSG_redrawId[0] */
static MMIPACKET d012 = { &MSG_redrawId[0],
&MSG_winId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d012d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
64, 166, 119, 190, 8, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
MSG_redrawFunc,
0x0000
} ;
/* MSG_redrawId[1] */
static MMIPACKET d013 = { &MSG_redrawId[1],
&MSG_winId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d013d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
138, 166, 193, 190, 8, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
MSG_redrawFunc,
0x0000
} ;
/* NULL */
static MMIPACKET d014 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d014d = { MS_CENTERL40 | MS_DSPONLYL40,
71, 169, 111, 188, 8,15, 8,
MS_NONEL40,
"左",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* NULL */
static MMIPACKET d015 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d015d = { MS_CENTERL40 | MS_DSPONLYL40,
147, 169, 184, 188, 8,15, 8,
MS_NONEL40,
"右",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* MSG_selectForceId[0] */
static MMIPACKET d016 = { &MSG_selectForceId[0],
&MSG_winId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d016d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
76, 220, 131, 239, 8, 4, 8,
MS_NONEL40,
MSG_selectForceFunc,
0x0000, 259, 260
} ;
/* MSG_selectForceId[1] */
static MMIPACKET d017 = { &MSG_selectForceId[1],
&MSG_winId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d017d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
137, 220, 191, 239, 8, 4, 8,
MS_NONEL40,
MSG_selectForceFunc,
0x0000, 259, 260
} ;
/* NULL */
static MMIPACKET d018 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d018d = { MS_CENTERL40 | MS_DSPONLYL40,
85, 220, 118, 239, 8, 4, 8,
MS_NONEL40,
"左",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* NULL */
static MMIPACKET d019 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d019d = { MS_CENTERL40 | MS_DSPONLYL40,
148, 220, 177, 239, 8, 4, 8,
MS_NONEL40,
"右",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* NULL */
static MMIPACKET d020 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d020d = { MS_CENTERL40 | MS_DSPONLYL40,
51, 80, 190, 99, 8,15, 8,
MS_NONEL40,
"<< アクティブ化 >>",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* MSG_activateId[0] */
static MMIPACKET d021 = { &MSG_activateId[0],
&MSG_winId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d021d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
64, 106, 119, 130, 8, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
MSG_activeFunc,
0x0000
} ;
/* MSG_activateId[1] */
static MMIPACKET d022 = { &MSG_activateId[1],
&MSG_winId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d022d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
138, 106, 193, 130, 8, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
MSG_activeFunc,
0x0000
} ;
/* NULL */
static MMIPACKET d023 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d023d = { MS_CENTERL40 | MS_DSPONLYL40,
71, 109, 111, 128, 8,15, 8,
MS_NONEL40,
"左",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* NULL */
static MMIPACKET d024 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d024d = { MS_CENTERL40 | MS_DSPONLYL40,
147, 109, 184, 128, 8,15, 8,
MS_NONEL40,
"右",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* NULL */
static MMIPACKET d025 = { NULL,
&MSG_winId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d025d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_DSPONLYL40,
219, 200, 399, 281, 8, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
0,
0x0000
} ;
/* NULL */
static MMIPACKET d026 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d026d = { MS_CENTERL40 | MS_DSPONLYL40,
222, 205, 400, 224, 8,15, 8,
MS_NONEL40,
"<< パス指定強制再描画 >>",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* MSG_forceRedrawTextId */
static MMIPACKET d027 = { &MSG_forceRedrawTextId,
&MSG_winId,
&MJ_TEXTL40,
OFFSET(TEXTL40),
MS_NONE
} ;
static TEXTL40 d027d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40,
244, 226, 373, 241, 8,15, 8,
MS_FRAMEL40,
MSG_forceRedrawTextFunc,
0, 0, 0, 0,
0, 0, 0, 0, 0,
-1, 0, 0,
0, 0, 0, 0,
0,
0, 0, 0, 0,
1, 12, 12, 0, 0,
0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0,
24
} ;
/* MSG_forceRedrawBtnId[0] */
static MMIPACKET d028 = { &MSG_forceRedrawBtnId[0],
&MSG_winId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d028d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
242, 252, 297, 276, 8, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
MSG_forceRedrawFunc,
0x0000
} ;
/* MSG_forceRedrawBtnId[1] */
static MMIPACKET d029 = { &MSG_forceRedrawBtnId[1],
&MSG_winId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d029d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
312, 252, 367, 276, 8, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
MSG_forceRedrawFunc,
0x0000
} ;
/* NULL */
static MMIPACKET d030 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d030d = { MS_CENTERL40 | MS_DSPONLYL40,
250, 254, 290, 273, 8,15, 8,
MS_NONEL40,
"左",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* NULL */
static MMIPACKET d031 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d031d = { MS_CENTERL40 | MS_DSPONLYL40,
322, 255, 359, 274, 8,15, 8,
MS_NONEL40,
"右",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* NULL */
static MMIPACKET d032 = { NULL,
&MSG_winId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d032d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_DSPONLYL40,
219, 78, 399, 196, 8, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
0,
0x0000
} ;
/* NULL */
static MMIPACKET d033 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d033d = { MS_CENTERL40 | MS_DSPONLYL40,
222, 82, 392, 101, 8,15, 8,
MS_NONEL40,
"<< パス指定再描画 >>",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* NULL */
static MMIPACKET d034 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d034d = { MS_CENTERL40 | MS_DSPONLYL40,
224, 98, 394, 117, 8,15, 8,
MS_NONEL40,
"どちらかのリストメニューに",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* NULL */
static MMIPACKET d035 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d035d = { MS_CENTERL40 | MS_DSPONLYL40,
223, 115, 395, 134, 8,15, 8,
MS_NONEL40,
"指定パスが表示されている場合",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* NULL */
static MMIPACKET d036 = { NULL,
&MSG_winId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d036d = { MS_CENTERL40 | MS_DSPONLYL40,
222, 131, 394, 150, 8,15, 8,
MS_NONEL40,
"再表示します",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* MSG_ifRedrawTextId */
static MMIPACKET d037 = { &MSG_ifRedrawTextId,
&MSG_winId,
&MJ_TEXTL40,
OFFSET(TEXTL40),
MS_NONE
} ;
static TEXTL40 d037d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40,
243, 151, 372, 166, 8,15, 8,
MS_FRAMEL40,
MSG_ifRedrawTextFunc,
0, 0, 0, 0,
0, 0, 0, 0, 0,
-1, 0, 0,
0, 0, 0, 0,
0,
0, 0, 0, 0,
1, 12, 12, 0, 0,
0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0,
24
} ;
/* MSG_ifRedrawBtnId */
static MMIPACKET d038 = { &MSG_ifRedrawBtnId,
&MSG_winId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d038d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
277, 169, 332, 193, 8, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
MSG_ifRedrawFunc,
0x0000
} ;
/* NULL */
static MMIPACKET d039 = { NULL,
&MSG_winId,
&MJ_MSGL40,
0,
MS_NONE
} ;
static MSGL40 d039d = { MS_CENTERL40 | MS_DSPONLYL40,
284, 172, 324, 191, 8,15, 8,
MS_NONEL40,
"送信",
1, 12, 12,
MS_NONEL40,
0, 0
} ;